// Package erp
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.17.8
package erp

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"
	"hotgo/utility/request"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询erp列表
type ListReq struct {
	g.Meta `path:"/erp/list" method:"get" tags:"erp" summary:"获取erp列表"`
	sysin.ErpListInp
}

type ListRes struct {
	form.PageRes
	List      []*sysin.ErpListModel  `json:"list"   dc:"数据列表"`
	ErpList   []request.WarehouseDTO `json:"erpList"  dc:"erp数据列表"`
	StoreList *[]request.Store       `json:"storeList"  dc:"收银台数据列表"`
}

// ExportReq 导出erp列表
type ExportReq struct {
	g.Meta `path:"/erp/export" method:"get" tags:"erp" summary:"导出erp列表"`
	sysin.ErpListInp
}

type ExportRes struct{}

// ViewReq 获取erp指定信息
type ViewReq struct {
	g.Meta `path:"/erp/view" method:"get" tags:"erp" summary:"获取erp指定信息"`
	sysin.ErpViewInp
}

type ViewRes struct {
	*sysin.ErpViewModel
}

// EditReq 修改/新增erp
type EditReq struct {
	g.Meta `path:"/erp/edit" method:"post" tags:"erp" summary:"修改/新增erp"`
	sysin.ErpEditInp
}

type EditRes struct{}

// DeleteReq 删除erp
type DeleteReq struct {
	g.Meta `path:"/erp/delete" method:"post" tags:"erp" summary:"删除erp"`
	sysin.ErpDeleteInp
}

type DeleteRes struct{}
